package com.qf.utils;

public class PageUtils {

    public static int getTotalPage(int allCount,int count){
        int totalPage = 1;
        if(allCount%count == 0){
            totalPage = allCount/count;
        }else{
            totalPage = allCount/count+1;
        }
        return totalPage;
    }
}
